﻿@{
    ViewBag.Title = "充值记录";
    ViewBag.MenuIndex = 4;
}
@model IPagedList<Xwork.SEO.Topup>
<div class="ny">
    <div class="ny_kb9"></div>
    <form name="myform" action="@Url.Action("payrecord")" method="get">
        <div class="search">
            <span style="margin-left:10px;">
            &nbsp;选择日期：<input name="start" type="text" value="" id="start" class="Wdate" style="width:100px;" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'});"> - <input name="end" type="text" value="" id="end" class="Wdate" style="width:100px;" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'});">   
            </span>
            <span style="margin-left:10px;">
                <input type="submit" value="" id="bg_07">
            </span> 
            <div class="clear"></div>
        </div>
    </form>
    <table id="myTable" style="width:990px; margin-bottom:10px;" class="tablesorter" border="0" cellpadding="0" cellspacing="0">
    	<thead>
        	<tr class="even">
                <th><h3>订单号</h3></th>
                <th><h3>项目</h3></th>
                <th><h3>金额</h3></th>
                <th><h3>账户余额</h3></th>
                <th><h3>操作时间</h3></th>
                <th><h3>备注</h3></th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr class="even">
                <td>@item.ID</td>
                <td>@item.Source</td>
                <td>@item.Amount</td>
                <td>@item.UseableAmount</td>
                <td>@item.CreateTime.ToString("yyyy-MM-dd")</td>
                <td>@item.Remark</td>
                </tr>
            }
        </tbody>
    </table>
    <div style="text-align:right;">
        @Html.PagedListPager(Model, p => Url.Action("userlist", new { pageindex = p }))
    </div>
</div>
